import { defAxios as request } from '@/utils/http';

/**
 * 审核日志
 * @returns {*}
 */
export function useHomeApi() {
	return {
		getAuditCount(params) {
			return request({
				url: '/home/getAuditCount',
				method: 'post',
				params: {
					year: params,
				},
			});
		},
		getWaitDealTask() {
			return request({
				url: '/home/getWaitDealTask',
				method: 'post',
				data: {},
			});
		},
	};
}
